package com.kelvin.oocl.dataprocess.util;

import java.util.Comparator;

import com.kelvin.oocl.dataprocess.entity.Customer;

public class CustomerSortByBirthDate implements Comparator<Customer> {

	@Override
	public int compare(Customer o1, Customer o2) {
		return o1.getBirthDate().compareTo(o2.getBirthDate());
	}

}
